package com.joey.cloud.auth.form;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;


@Data
@ApiModel(value="密码模式-注册form")
public class PwdRegisterForm {
    @NotNull(message = "账号不能为空")
    @ApiModelProperty(value = "账号名", required = true)
    private String accountNum;
    @NotNull(message = "密码不能为空")
    @ApiModelProperty(value = "密码", required = true)
    private String password;
    @NotNull(message = "昵称不能为空")
    @ApiModelProperty(value = "昵称", required = true)
    private String psnName;
    @NotNull(message = "性别不能为空")
    @ApiModelProperty(value = "性别0=未知1=男2=女", required = true)
    private Integer gender;
    @ApiModelProperty(value = "简介")
    private String introduction;




}
